﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TVShows_EF5.Models;

namespace TVShows_EF5.Controllers
{
    public class TemporadaController : Controller
    {
        private TVShowsContext db = new TVShowsContext();

        //
        // GET: /Temporada/5
        public ActionResult Index(long id)
        {
            TVShow tvshow = db.TVShows.Find(id);
            return View(model: tvshow);
        }

        //
        // GET: /Temporada/5
        public ActionResult IndexMejorado(long id)
        {
            TVShow tvshow = db.TVShows.Find(id);
            return View(model: tvshow);
        }

    }
}
